package edu.spec.wechat.quartz;

import edu.spec.wechat.kit.DuplicateMessageKit;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.scheduling.quartz.QuartzJobBean;

/**
 * Created by MadFrog on 2016/11/3.
 */
public class ClearDuplicateMessageJob extends QuartzJobBean {
    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        DuplicateMessageKit.clearExpire();
    }
}
